<?php
namespace App\Mall\Dto;

use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;
use Mine\Interfaces\MineModelExcel;

/**
 * 商品列表Dto （导入导出）
 */
#[ExcelData]
class MallGoodsDto implements MineModelExcel
{
    #[ExcelProperty(value: "主键", index: 0)]
    public string $id;

    #[ExcelProperty(value: "created_at", index: 1)]
    public string $created_at;

    #[ExcelProperty(value: "updated_at", index: 2)]
    public string $updated_at;

    #[ExcelProperty(value: "deleted_at", index: 3)]
    public string $deleted_at;

    #[ExcelProperty(value: "名称", index: 4)]
    public string $name;

    #[ExcelProperty(value: "标题", index: 5)]
    public string $title;

    #[ExcelProperty(value: "展示图", index: 6)]
    public string $images;

    #[ExcelProperty(value: "shop_id", index: 7)]
    public string $shop_id;

    #[ExcelProperty(value: "is_spec", index: 8)]
    public string $is_spec;

    #[ExcelProperty(value: "检测库存", index: 9)]
    public string $check_stock;

    #[ExcelProperty(value: "虚拟商品", index: 10)]
    public string $is_virtual;

    #[ExcelProperty(value: "到店", index: 11)]
    public string $is_arrival;

    #[ExcelProperty(value: "上架", index: 12)]
    public string $online;

    #[ExcelProperty(value: "限购数", index: 13)]
    public string $buy_limit;

    #[ExcelProperty(value: "积分", index: 14)]
    public string $is_integral;

    #[ExcelProperty(value: "评论数", index: 15)]
    public string $comments;

    #[ExcelProperty(value: "浏览数", index: 16)]
    public string $views;

    #[ExcelProperty(value: "收藏数", index: 17)]
    public string $collects;

    #[ExcelProperty(value: "排序", index: 18)]
    public string $sort;

    #[ExcelProperty(value: "展示模版", index: 19)]
    public string $tmp_id;

    #[ExcelProperty(value: "商品单位", index: 20)]
    public string $unit;

    #[ExcelProperty(value: "品牌", index: 21)]
    public string $brand;

    #[ExcelProperty(value: "商品介绍", index: 22)]
    public string $content;


}